<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<title>{$site_name}【管理后台】 -- Powered by CentIMS {$core_version}</title>
		<link href="{'ui/smoothness/jquery-ui-1.8.20.c.css'|jquery}" rel="stylesheet"/>
		<link href="{'bootstrap/css/bootstrap.css'|shared}" rel="stylesheet"/>
		<link href="{'bootstrap/css/bootstrap-responsive.css'|shared}" rel="stylesheet"/>
		<link href="{'common.css'|shared}" rel="stylesheet"/>		
		<link href="css/adcp.css" rel="stylesheet"/>
		<style type="text/css">
			{'desktop_styles'|fire}
		</style>
		{'desktop_head'|fire}
	</head>
	<body scroll="no">
		<div id="overlay">
			<div id="overlay-body">
				<img src="images/loading.gif"/>
				<div class="msg">界面加载中...</div>
			</div>
		</div>	
		<div id="head">
			<div id="topnav">
				<div id="centims">
					<a href="."><img src="images/logo.png" width="108" height="25" alt="CentIMS"/></a>
					<h1>{$site_name|truncate:16}</h1>
				</div>
				<div id="shortcuts">
					<div class="tnl"></div>
					<div class="tnm">
						<span class="welcome">欢迎: <strong>{$_PASSPORT->name}</strong></span>
						{'show_shortcuts'|fire}
						<a href="{$_BASEURL}" target="_blank" class="ico ico_home">首页</a>
					</div>
					<div class="tnr"></div>
				</div>
			</div>
			<div id="apptabs">
				<table id="tabs">
					<tr>
						<td class="maintabs" id="maintabs">								
							<div class="aptab overview index">
								<div class="l"></div>
								<div class="m">
									<a class="tabUrl" href="#desktop">&nbsp;</a>
								</div>
								<div class="r"></div>
							</div>														
						</td>
						<td class="pagetabs">	
							<div id="pagetabs"></div>
						</td>
						<td class="tabtool dropdown" id="tabtool">								
							<a id="tabOverView" href="#moretabs">&nbsp;</a>								
						</td>
					</tr>
				</table>
			</div>
		</div>						
		<div id="workspace">
			<div class="workspace" id="desktop">
				<div id="icons">
					{foreach from=$apps item=app}						
					<div class="shortcut">
				    	<a href="{$app.url}" title="{$app.tip}" cls="{$app.cls}" id="{$app.id}">
				        	<img src="{$app.icon}"/>
				            <span>{$app.name}</span>
				        </a>
				    </div>
			        {/foreach}
				</div>
				<div id="widgets">
					<div id="widgets-sp" title="收起桌面小工具"><br/></div>
					<div id="widgets-wrap" class="span6">						
						<!-- div class="stuffbox">
							<div class="handlediv" title="点击以切换"><br/></div>
							<h3>查看列表</h3>
							<a href="#" class="tools">配置</a>
							<div class="inside">
								桌面小工具也完成喽。	
						    </div>
						</div -->
						{'get_desktop_widgets'|fire}
						<br class="clear"/>
					</div>
				</div>						
			</div>					
		</div>								
		<div id="foot">
			<div id="statusbar">欢迎使用CentIms进行网站部署!</div>
			<a href="#">CentIMS {$core_version}</a> Powered by <a href="http://code.google.com/p/nutzx/">Nutzp {$nutzp_version}</a>.
		</div>			
		<ul id="moretabs" class="dropdown-menu">				
			<li class="divider" id="nzDivider"></li>
			<li><a href="#" id="nzCloseOthers" class="ico_close icon">关闭其它标签</a></li>
			<li><a href="#" id="nzCloseAll" class="ico_close2 icon">关闭全部标签</a></li>
		</ul>
		
		<div class="modal big-modal hide" id="pic-modal">
		  	<div class="modal-header">
			    <button class="close" data-dismiss="modal">×</button>
			    <h3>选择附件图片</h3>
		  	</div>		  	
			<iframe class="modal-body" name="picframe" id="picframe" frameborder="0"></iframe>
			<div class="modal-footer">				
				<a href="#" class="btn btn-close-form">关闭</a>
				<a href="#" class="btn btn-primary" id="btn-attac-done">确定</a>
			</div>
		</div>
		
		<div class="modal big-modal hide" id="iframe-modal">
		  	<div class="modal-header">
			    <button class="close" data-dismiss="modal">×</button>
			    <h3 id="iframe-title">请选择</h3>
		  	</div>		  	
			<iframe class="modal-body" name="innerframe" id="modal-inner-frame" frameborder="0"></iframe>
			<div class="modal-footer">				
				<a href="#" class="btn btn-close-form">关闭</a>
				<a href="#" class="btn btn-primary" id="btn-iframe-done">确定</a>
			</div>
		</div>
		
		<script type="text/javascript" src="{'jquery-1.7.1.js'|jquery}"></script>
		<script type="text/javascript" src="{'ui/jquery-ui-1.8.20.c.js'|jquery}"></script>
		<script type="text/javascript" src="{'bootstrap/bootstrap.js'|shared}"></script>
		<script type="text/javascript" src="adcp.js"></script>
		{'desktop_foot'|fire}
	</body>
</html>